

<div class="l-logo">
    <img src="__IMG__/logo.jpg" class="am-img-responsive" alt="logo" class="logo">
</div>
<ul class="b-nav am-nav am-nav-pills">
    <li <eq name="active_nav" value="1">class="am-active"</eq> ><a href="{:U('Xbd/Index/index')}" class="">首页</a></li>

    <volist name="nav_list" id="vo">
        <empty name="vo['_child']">
            <li>
                <empty name="vo['href']">
                <a href="{:U('Xbd/Index/cate',array('id'=>$vo['id']))}" class="">{$vo.name}</a>
                <else/>
                    <a href="{$vo['href']}" class="">{$vo.name}</a>
                </empty>
            </li>
            <else/>

            <li class="am-dropdown " data-am-dropdown>
                <a class="am-dropdown-toggle" data-am-dropdown-toggle href="javascript:;">
                    {$vo.name} <span class="am-icon-caret-down"></span>
                </a>
                <ul class="am-dropdown-content">
            <volist name="vo['_child']" id="vo_child">
                <li>
                    <empty name="vo_child['href']">
                        <a href="{:U('Xbd/Index/cate',array('id'=>$vo_child['id']))}" class="">{$vo_child.name}</a>
                        <else/>
                        <a href="{$vo_child['href']}" class="">{$vo_child.name}</a>
                    </empty>
                </li>

            </volist>
                </ul>
            </li>
        </empty>
    </volist>
</ul>